﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;
using SD.DAL;
using SD.IDAL;
using SD.IBUS;
using System.Data.SqlClient;

namespace SD.BUS
{
    public class OrgServiceBIZ:BaseBIZ, IOrgServiceBIZ
    {
        IOrgServiceDAO orgServiceDAO;

        public OrgServiceBIZ()
        {
            orgServiceDAO = new OrgServiceDAO();
        }

        #region IOrgServiceBIZ Members

        public List<string> GetByOrganization(string orgId)
        {
            try
            {
                return orgServiceDAO.GetByOrganization(orgId);
            }
            catch (SqlException ex)
            {
                throw ex;
            }
        }

        public bool Insert(string orgId, string serviceId)
        {
            return false;
        }

        public bool Update(string orgId, List<Service> details)
        {
            return false;
        }

        public bool Delete(string orgId, string serviceId)
        {
            return false;
        }

        #endregion
    }
}
